let hostUrl='';
let domain='';
if(process.env.NODE_ENV=='development'){
	// 测试环境
    let protocol = window.location.protocol;
    let host     = window.location.hostUrl;
    domain  = protocol+'//'+host+'/';
    hostUrl = domain;
    // hostUrl = 'http://223.80.103.182:2020/';
}else if(process.env.NODE_ENV=='production'){
    let protocol = window.location.protocol;
    let host 	 = window.location.host;
    domain = protocol+'//'+host+'/';
    hostUrl = domain;
}
export {hostUrl,domain}